package cn.gx.learn.security_boot_jwt_websocket.affairs.ws.event;

import cn.gx.learn.security_boot_jwt_websocket.aop.dal.date.Log;
import org.springframework.context.ApplicationEvent;

public class WsEvent extends ApplicationEvent {
    private Log log;

    public WsEvent(Log log, Log.Menutype menutype) {
        super(log);
        this.log=log;
        this.log.setType(menutype);
    }

    public Log getLog() {
        return log;
    }

    public void setLog(Log log) {
        this.log = log;
    }
}
